import request from "@/api/request";
import { type AxiosRequestConfig } from "axios";
import { type DeepRequired } from "../../interface";

/**
 * /fileType/{id}
 */
export function deleteFileTypeById(params: DeleteFileTypeByIdParams, config?: AxiosRequestConfig) {
    return request.delete<DeepRequired<any>>(`/fileType/${params.id}`, config);
}

export interface DeleteFileTypeByIdParams {
    id: number;
}
